package cn.duxiaod;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = IdProperties.PREFIX)
public class IdProperties {
    public  static  final String PREFIX = "spring.duxiaod";

    private Long datacenterId;
    private Long machineId;

    public Long getDatacenterId() {
        return datacenterId;
    }

    public void setDatacenterId(Long datacenterId) {
        this.datacenterId = datacenterId;
    }

    public Long getMachineId() {
        return machineId;
    }

    public void setMachineId(Long machineId) {
        this.machineId = machineId;
    }
}
